package cn.kfu.service;

import cn.kfu.model.User;

import java.util.List;

public interface UserService {

    List<User> findAll();

    boolean login(User user);

    boolean register(User user);

    User findUserByUsername(String username);
}
